package net.xju.service.impl;

import net.xju.dao.UserDao;
import net.xju.entity.User;
import net.xju.service.UserService;

import java.util.List;

public class UserServiceImpl implements UserService {
    UserDao userDao = new UserDao();
    @Override
    public List<User> list() {
        List<User> userList = UserDao.list();
        return userList;
    }
}
